Skip to content

feat: add artist/workspace name to email footer#110

Merged
sweetmantech merged 3 commits intotestfrom
sweetmantech/myc-3896-email-footer-include-workspace-artist-name
Jan 14, 2026
Merged

feat: add artist/workspace name to email footer#110
sweetmantech merged 3 commits intotestfrom
sweetmantech/myc-3896-email-footer-include-workspace-artist-name

Conversation

@sweetmantech
Copy link
Copy Markdown
Contributor

Summary

  • Add the artist name associated with a conversation room to the email footer
  • Footer now shows "From {artistName}'s workspace" above the reply instructions when the room has an associated artist
  • Created selectRoomWithArtist query function to fetch room with artist name from accounts table

Test plan

  • Run pnpm test lib/emails/__tests__/getEmailFooter.test.ts - all 9 tests pass
  • Manual test: Create a conversation with an artist and send an email using send_email tool
  • Verify footer includes "From [Artist Name]'s workspace"
  • Test with a conversation that has no artist - footer should not include artist line

🤖 Generated with Claude Code

Add the artist name associated with a conversation room to the email
footer when sending emails. The footer now shows "From {artistName}'s
workspace" above the reply instructions when the room has an associated
artist.

- Add selectRoomWithArtist query function to fetch room with artist name
- Update getEmailFooter to accept optional artistName parameter
- Update registerSendEmailTool to fetch artist name before generating footer
- Update generateEmailResponse to fetch artist name before generating footer
- Add tests for artist name display in footer

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
recoup-api Ready Ready Preview Jan 14, 2026 10:08pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jan 14, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

TypeScript infers the accounts join as an array type. Handle both
array and object cases to fix the build error.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add mock for selectRoomWithArtist to prevent Supabase client from
loading during tests, which requires environment variables.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sweetmantech sweetmantech merged commit 83c368e into test Jan 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant